package com.econ.powercloud.ems.common.enums;

/**
 * @author zjr
 * @create 2021/7/30 下午4:30
 * @description 能量调度类型
 */
public enum EnergyScheduleType implements EnumMethod{
    DEMAND_CONTROL(0, "需量控制"),
    BACKUP_POWER(1, "后备电源"),
    INVERSE_POWER_OUTPUT(2, "功率反送"),
    PEAK_SHIFT(3, "移峰填谷"),
    SOC_CONTROL(4, "SOC控制"),;

    private Integer code;
    private String desc;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    EnergyScheduleType(int code, String desc){
        this.code=code;
        this.desc=desc;
    }

}
